<?php
/**
 * @copyright  For copyright and license information, read the COPYING.txt file.
 * @link       /COPYING.txt
 * @license    Academic Free License (AFL 3.0)
 * @package     default_default
 */
 ?>
<?php /** @var Mage_Adminhtml_Block_Customer_Edit_Tab_View_Grid_Renderer_Item $this */ ?>
<?php
    $product = $this->getProduct();
    $options = $this->getOptionList();
?>

<?php if (!$options): ?>
    <?php echo $this->escapeHtml($product->getName())?>
<?php else: ?>
<div class="bundle-product-options">
    <strong><?php echo $this->escapeHtml($product->getName())?></strong>
    <dl>
        <?php foreach ($options as $option) : ?>
            <dt><?php echo $this->escapeHtml($option['label']) ?></dt>
            <?php $formatedOptionValue = $this->getFormattedOptionValue($option) ?>
            <dd><?php echo $formatedOptionValue['value'] ?></dd>
        <?php endforeach ?>
    </dl>
</div>
<?php endif ?>
